package com.chinatelecom.ifree.business.domain.jifen;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户积分信息
 * @author haoxw
 *
 */
public class UserBonus implements Serializable {
		private static final long serialVersionUID = 2L;
		/**
		 * 用户手机号
		 */
		private String mobile;
		
		/**
		 * 用户积分
		 */
		private int bonus;
		/**
		 * 当天获取积分
		 */
		private int todayEarnedBonus;
		/**
		 * 当天获取积分最后时间
		 */
		private Date todayLastEarnedBonusTime;

		/**
		 * 注册时间
		 */
		private Date createTime;
		/**
		 * 记录最后修改时间
		 */
		private Date upTime;
		/**
		 * 黑名单用户
		 */
		private boolean banned;
		public int getBonus() {
			return bonus;
		}
		public void setBonus(int bonus) {
			this.bonus = bonus;
		}
		public int getTodayEarnedBonus() {
			return todayEarnedBonus;
		}
		public void setTodayEarnedBonus(int todayEarnedBonus) {
			this.todayEarnedBonus = todayEarnedBonus;
		}
		public Date getTodayLastEarnedBonusTime() {
			return todayLastEarnedBonusTime;
		}
		public void setTodayLastEarnedBonusTime(Date todayLastEarnedBonusTime) {
			this.todayLastEarnedBonusTime = todayLastEarnedBonusTime;
		}
		public Date getCreateTime() {
			return createTime;
		}
		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}
		public Date getUpTime() {
			return upTime;
		}
		public void setUpTime(Date upTime) {
			this.upTime = upTime;
		}
		public boolean isBanned() {
			return banned;
		}
		public void setBanned(boolean banned) {
			this.banned = banned;
		}
		public String getMobile() {
			return mobile;
		}
		public void setMobile(String mobile) {
			this.mobile = mobile;
		}
		@Override
		public String toString() {
			return "UserBonus [mobile=" + mobile + ", bonus=" + bonus
					+ ", todayEarnedBonus=" + todayEarnedBonus
					+ ", todayLastEarnedBonusTime=" + todayLastEarnedBonusTime
					+ ", createTime=" + createTime + ", upTime=" + upTime
					+ ", banned=" + banned + "]";
		}
		
		
}
